import type { Ref } from "vue";
import type { Banner, Brand, Category, HotItem, NewItem, Product, Special } from "@/types/homeTypes/homeTypes.ts";

export interface homeStoreInterface {
   categoryList: Ref<Category[]>;
   fetchCategoryList: () => Promise<void>;
   brandList: Ref<Brand[]>;
   fetchBrandList: (limit: number) => Promise<void>;
   bannerList: Ref<Banner[]>;
   fetchBannerList: () => Promise<void>;
   newList: Ref<NewItem[]>;
   fetchNewList: () => Promise<void>;
   hotList: Ref<HotItem[]>;
   fetchHotList: () => Promise<void>;
   hotBrandList: Ref<Brand[]>;
   fetchHotBrandList: (limit: number) => Promise<void>;
   productList: Ref<Product[]>;
   fetchProductList: () => Promise<void>;
   specialList:Ref<Special[]>
   fetchSpecialList: (limit: number) => Promise<void>;
}
